/**
 * ICustomAlertTaskService.java
 * Created at 2017-11-1
 * Created by zhanghailin
 * Copyright (C) 2017 BROADTEXT SOFTWARE, All rights reserved.
 */
package com.broadtext.rms.timetask.service;

import java.util.List;
import java.util.Map;

import com.broadtext.common.exp.DaoException;
import com.broadtext.common.exp.ServiceException;
import com.broadtext.common.service.IEntityService;
import com.broadtext.rms.monitor.model.TtPackCurrent;
import com.broadtext.rms.timetask.model.TtPackCustomAlertTask;

/**
 * <p>ClassName: ICustomAlertTaskService</p>
 * <p>Description: TODO</p>
 * <p>Author: zhanghailin</p>
 * <p>Date: 2017-11-1</p>
 */
public interface ICustomAlertTaskService extends IEntityService<TtPackCustomAlertTask>{
    
    List<TtPackCurrent> findTtPackDataList(Map<String,String> queryMap) throws ServiceException;
    
    void batchInsertData(List<TtPackCustomAlertTask> taskList) throws ServiceException;
    
    Map<String,Object> getQueryTime() throws ServiceException;
    
    void updateTaskTime(String queryEndTime) throws ServiceException;
    
    void createBatteryChargeData(Map<String, Object> map) throws ServiceException;
    
    void carryOverPackVolData();
    
    void carryOverPackTempData();
    
    void carryOverPackBasicData();
    
    void deleteVolLastDayData();
    
    void deleteTempLastDayData();
    
    void deleteBasicLastDayData();

    void deleteTempData() throws DaoException;

    void deleteVolData() throws DaoException;

    void deletePackBasicData() throws DaoException;
    
    void createVolTable();
    
    void createTempTable();
    
    void createPackBaiscTable();
    
    void carryOverScreenData() throws DaoException;


}
